
import { createRouter, createWebHistory } from "vue-router"

const router = new createRouter({
    history: createWebHistory(),
    routes: [
        {
            path: "/",
            name: "Home",
            component: () => import("@/views/index.vue"),
        },
        {
            path: '/:catchAll(.*)',
            name: "NotFound",
            component: () => import("@/views/index.vue"),
        },
    ]

})

export default router
